<?php
class MyPage extends CLinkPager{
	public function init()
	{
	    if($this->nextPageLabel===null)
	        $this->nextPageLabel='Sau';
	    if($this->prevPageLabel===null)
	        $this->prevPageLabel='Trước';
	    if($this->firstPageLabel===null)
	        $this->firstPageLabel='1';
	    if($this->lastPageLabel===null)
	        $this->lastPageLabel=$this->getPageCount();
	     if($this->header===null)
	        $this->header="Trang ". ($this->getCurrentPage()+1). "/". $this->getPageCount();   
	
	    // and let Yii do the rest like it always does
	    parent::init();
	}
}
?>